package com.xtiim.battery.discharge.modules.dat.controller;

import com.xtiim.battery.discharge.modules.dat.service.impl.DataRecordServiceImpl;
import lombok.extern.slf4j.Slf4j;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.text.SimpleDateFormat;

/**
 * DataRecordController used to handle data record requests
 */
@Slf4j
public class DataRecordController extends HttpServlet {

    private DataRecordServiceImpl dataRecordService = DataRecordServiceImpl.getInstance();

    private static final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) {
    }


    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) {

    }




}
